package com.plwf.lake.service.impl;

import com.plwf.lake.entity.DriverUsers;
import com.plwf.lake.mapper.DriverUsersMapper;
import com.plwf.lake.service.DriverUsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DriverUsersServiceImpl implements DriverUsersService {
    @Resource
    private DriverUsersMapper mapper;

   //service的实现
   @Override
    public DriverUsers find(DriverUsers bean){
       return mapper.selectOne(bean);
   }
}
